package com.jumi.microservice.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jumi.microservice.domain.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

@TableName("message_sms")
@ApiModel(value="MessageSms对象", description="短信发送日志")
public class MessageSms extends BaseEntity {
    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long smsId;
    @ApiModelProperty(value = "短信模版id")
    private String smtShortId;
    @ApiModelProperty(value = "手机号")
    private String smtPhone;
    @ApiModelProperty(value = "短信模板内容")
    private String smtContent;
    @ApiModelProperty(value = "短信模板变量替换参数")
    private String smtParameter;
    @ApiModelProperty(value = "200:成功,500:失败")
    private Integer smtCode;
    @ApiModelProperty(value = "0:设备统一发送,1:短信单独发送")
    private Integer smtType;
    @ApiModelProperty(value = "错误信息")
    private String smtMessage;
    @ApiModelProperty(value = "短消息发送时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    private Integer isDel;

    public Long getSmsId() {
        return smsId;
    }

    public void setSmsId(Long smsId) {
        this.smsId = smsId;
    }

    public String getSmtShortId() {
        return smtShortId;
    }

    public void setSmtShortId(String smtShortId) {
        this.smtShortId = smtShortId;
    }

    public String getSmtPhone() {
        return smtPhone;
    }

    public void setSmtPhone(String smtPhone) {
        this.smtPhone = smtPhone;
    }

    public String getSmtParameter() {
        return smtParameter;
    }

    public void setSmtParameter(String smtParameter) {
        this.smtParameter = smtParameter;
    }

    public Integer getSmtCode() {
        return smtCode;
    }

    public void setSmtCode(Integer smtCode) {
        this.smtCode = smtCode;
    }

    public Integer getSmtType() {
        return smtType;
    }

    public void setSmtType(Integer smtType) {
        this.smtType = smtType;
    }

    public String getSmtMessage() {
        return smtMessage;
    }

    public void setSmtMessage(String smtMessage) {
        this.smtMessage = smtMessage;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getSmtContent() {
        return smtContent;
    }

    public void setSmtContent(String smtContent) {
        this.smtContent = smtContent;
    }
}
